//
//  WorkListViewController.h
//  Patrol
//
//  Created by Lee on 13-2-26.
//  Copyright (c) 2013年 FSTI. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface WorkListViewController : UIViewController<UITableViewDelegate,UITableViewDataSource>
@property (strong,nonatomic) NSArray *list;
@property (strong,nonatomic) IBOutlet UITableView *tableView;
@property (assign, nonatomic) NSInteger pageNumber;
@property (assign, nonatomic) NSInteger pageSize;
@property (assign, nonatomic) NSInteger allCount;
@property (nonatomic,assign) BOOL isPage;
@property (strong, nonatomic) IBOutlet UILabel *isEmpty;

- (void) searchPlain:(NSString *)workID;
- (void) pageTurn:(WorkListViewController *)work pageNumber:(NSInteger)pageNumber pageSize:(NSInteger)pageSize;
- (void) hudShow:(NSString *)message view:(UIView *)view;
@end
